%COVTEST: A SAS Macro for Hypothesis Testing in Linear Mixed Effects Models via Parametric Bootstrap
نویسنده
چکیده
Inference of variance components in linear mixed effect models (LMEs) is not always straightforward. I introduce and describe a flexible SAS ® macro (%COVTEST) that uses the likelihood ratio test (LRT) to test covariance parameters in LMEs by means of the parametric bootstrap. Users must supply the null and alternative models (as macro strings), and a data set name. The macro calculates the observed LRT statistic and then simulates data under the null model to obtain an empirical p-value. The macro also creates graphs of the distribution of the simulated LRT statistics. The program takes advantage of processing accomplished by PROC MIXED and some SAS/IML ® functions. I demonstrate the syntax and mechanics of the macro using three examples.
منابع مشابه
An Intermediate Primer to Estimating Linear Multilevel Models using SAS PROC MIXED
This paper expands upon Bell et al.’s (2013) “A Multilevel Model Primer Using SAS PROC MIXED” in which we presented an overview of estimating two and three-level linear models via PROC MIXED. However, in our earlier paper, we, for the most part, relied on simple options available in PROC MIXED. In this paper, we present a more advanced look at common PROC MIXED options used in the analysis of s...
متن کاملComparing two testing procedures in unbalanced two-way ANOVA models under heteroscedasticity: Approximate degree of freedom and parametric bootstrap approach
The classic F-test is usually used for testing the effects of factors in homoscedastic two-way ANOVA models. However, the assumption of equal cell variances is usually violated in practice. In recent years, several test procedures have been proposed for testing the effects of factors. In this paper, the two methods that are approximate degree of freedom (ADF) and parametric bootstr...
متن کاملBootstrap Restricted Likelihood Ratio Test for the Detection of Rare Variants
In this paper the detection of rare variants association with continuous phenotypes of interest is investigated via the likelihood-ratio based variance component test under the framework of linear mixed models. The hypothesis testing is challenging and nonstandard, since under the null the variance component is located on the boundary of its parameter space. In this situation the usual asymptot...
متن کاملA SAS Macro for Computing Pooled Likelihood Ratio Tests with Multiply Imputed Data
For multilevel analyses (e.g., linear mixed models), researchers are often interested in pooling, interpreting, and testing both fixed effects and random effects. PROC MIANALYZE has two shortcomings in this regard. First, it cannot easily pool variance estimates. Second, the significance tests of these estimates are Wald-type tests that are inappropriate for testing variance estimates. Likeliho...
متن کامل191-2007: Model Selection in PROC MIXED—A User-Friendly SAS® Macro Application
A user-friendly SAS macro application to perform all possible model selection of fixed effects including quadratic and cross products within a user-specified subset range in the presence of random and repeated measures effects using SAS PROC MIXED is available. This macro application, ALLMIXED2 will complement the model selection option currently available in the SAS PROC REG for multiple linea...
متن کامل